<h1>Editing step</h1>

<%= error_messages_for :step %>

<% form_for(:step, :url => step_path(@step), :html => { :method => :put }) do |f| %>
  <p>
    <b>Title</b><br />
    <%= f.text_field :title %>
  </p>

  <p>
    <b>Path</b><br />
    <%= f.text_field :path_id %>
  </p>

  <p>
    <b>Link</b><br />
    <%= f.text_field :link_id %>
  </p>

  <p>
    <b>Sequence</b><br />
    <%= f.text_field :sequence %>
  </p>

  <p>
    <b>Created at</b><br />
    <%= f.datetime_select :created_at %>
  </p>

  <p>
    <b>Updated at</b><br />
    <%= f.datetime_select :updated_at %>
  </p>

  <p>
    <%= submit_tag "Update" %>
  </p>
<% end %>

<%= link_to 'Show', step_path(@step) %> |
<%= link_to 'Back', steps_path %>